
<%@ page language="java"%>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html:html locale="true">
  <head>
      <html:base />
      <title>Content Manager</title>
	  <meta http-equiv="Content-Language" content="Spanish" />
	  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
      <link href="../style/appcongen.css" rel="stylesheet" type="text/css" />
   </head>

   <body>
        <div id="container">

			<%@ include file="includes/common-header-menu.jsp" %>

            <div id="container-content">
            		<logic:notEqual name="defaultForm" property="templatesToComplete" value="-1">
						<h5>Templates por completar</h5>
						<ul id="subnavigation">
							<logic:equal name="defaultForm" property="templatesToComplete" value="0">
								<li>Usted no tiene templates por completar.</li>
							</logic:equal>
							<logic:notEqual name="defaultForm" property="templatesToComplete" value="0">
								<li><a href="javascript:window.location.href='<%= request.getContextPath() %>/templateList.do'">Usted tiene <bean:write name="defaultForm" property="templatesToComplete" /> templates asignados.</a></li>
							</logic:notEqual>
						</ul>
						<hr />
					</logic:notEqual>
            		<logic:notEqual name="defaultForm" property="newMessages" value="-1">
						<h5>Nuevos Mensages Publicados</h5>
						<ul id="subnavigation">
							<logic:equal name="defaultForm" property="newMessages" value="0">
								<li>Usted no tiene mensajes nuevos.</li>
							</logic:equal>
							<logic:notEqual name="defaultForm" property="newMessages" value="0">
								<li><a href="javascript:window.location.href='<%= request.getContextPath() %>/postList.do'">Usted tiene <bean:write name="defaultForm" property="newMessages" /> mensajes nuevos.</a></li>
							</logic:notEqual>
						</ul>
					</logic:notEqual>
            		<logic:equal name="defaultForm" property="newMessages" value="-1">
						<ul id="subnavigation" style="height: 200px">
						</ul>
					</logic:equal>
					<br />
            
		    </div>

			<%@ include file="includes/common-footer.jsp" %>

        </div>
      
   </body>
</html:html>
